<template>
    <div class="">
        <ezm-layout>
            <van-nav-bar
                slot="nav"
                title="返回中间页"
                left-arrow
                @click-left="g_navigate.back()"
            ></van-nav-bar>
            <div class="pa-md">
                <div class="mb-sm">
                    # 点击以下按钮测试连续跳过继承，指返回上一页跳过之后，上上一页将继承跳过特性同样跳过自己，从而实现连续跳过多页的效果
                </div>
                <van-button
                    type="info"
                    block
                    @click="g_navigate.to('/RouteDemoInherit2')"
                >点击进入下一页</van-button>
            </div>
        </ezm-layout>
    </div>
</template>

<script>
    import EzmLayout from "@/components/layout/ezm-layout";
    import {PageMixin} from "@/mixin/navigate.mixin";
    export default {
        name: 'RouteDemoInherit',
        mixins: [PageMixin],
        components: {EzmLayout},
        props: {},
        data() {
            return {
                // 返回跳过继承，上一页如果是返回跳过的话是否本页也继承跳过
                PAGE_BACK_SKIP_INHERIT: true,
            }
        },
        computed: {},
        watch: {},
        created() {
        },
        mounted() {
        },
        destroyed() {
        },
        methods: {}
    };
</script>

<style lang="less">

</style>